package IO流.缓冲流.BufferedWriter.Test01;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class BufferedWriterTest01 {
    public static void main(String[] args) {
        try {
            BufferedWriter out = new BufferedWriter(new FileWriter("D:/Desktop/缓冲流输出文件",true));
            out.write("\n\n这是我的逃跑路线！！！\n");
            out.write("我真是嗨到不行啊！！！jojo");
            out.flush();
            out.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
